<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Index Page</title>
</head>
<body>
<ul>
    <li th:each="l,lState:${list}" th:text="${lState.index}+1+${l}"></li>
</ul>
<hr>
<a th:href="@{/login.html}">点我登录</a>
<hr>
[[${list.get(2)}]]
<hr>
<div th:replace="~{component::com1}"></div>
</body>
<script th:inline="javascript">
    const l = [[${list}]]
    console.log(l)
</script>
</html>
